-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Support encrypted state events MSC4362 #30877
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: andybalaam/remove-needless-para
Are you sure you want to change the base?
Support encrypted state events MSC4362 #30877
Conversation
|
Two potential considerations:
|
47ec3fd to
f568949
Compare
IMO it would make sense that clients with this flag enabled can create / enable rooms to have encrypted state, but all supporting clients regardless of features should be able to interact in these rooms. So, they should probably attempt to send encrypted state if the room requires it. |
I agree! The last commit I made locks |
|
It appears that the state events sent immediately after room creation are not encrypted - investigating... Although this may be preferable behaviour - clients could fall back to this if room key sharing ever fails? |
|
Latest changes enabling room name encryption might belong in the JS SDK? Thoughts appreciated! |
330ec69 to
9d06c66
Compare
andybalaam
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding a review, primarily to remind myself what needs doing when I get back to this.
82e2b6a to
509d4e8
Compare
509d4e8 to
e2b046e
Compare
e2b046e to
44e55ea
Compare
44e55ea to
7f4273f
Compare
Signed-off-by: Skye Elliot <[email protected]>
7f4273f to
7d1c1ca
Compare
When the labs flag ("Encrypted state events") is enabled, a new option ("Encrypt state events") appears when creating a room.
Whether or not the labs flag is enabled, in a room created with this option, state events are encrypted and decrypted as specified in MSC4362.
People invited to the room later (without MSC4268 enabled) will not be able to decrypt state (e.g. room name) that was sent before they joined.
Checklist
public/exportedsymbols have accurate TSDoc documentation.